package com.yfp.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.client.domain.AiModelConfig;

/**
 *
 * @description 针对表【ai_model_config(AI模型配置表)】的数据库操作Mapper
 * @createDate 2025-02-25 15:10:18
 * @Entity com.yfp.client.domain.AiModelConfig
 */
public interface AiModelConfigMapper extends BaseMapper<AiModelConfig> {

    /**
     * 根据服务id查询激活的模型
     *
     * @param aiModelServiceId
     * @return
     */
    AiModelConfig searchActiveModel(Long aiModelServiceId);
}




